<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>Centos 创建 LVM | Hexo | null</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="Centos">
    <meta name="description" content="查看磁盘fdisk -l123456789101112131415161718[root@VM_32_75_centos ~]# fdisk -lDisk /dev/vda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280">
<meta property="og:type" content="article">
<meta property="og:title" content="Centos 创建 LVM">
<meta property="og:url" content="http://yoursite.com/2017/02/21/centos创建LVM/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="查看磁盘fdisk -l123456789101112131415161718[root@VM_32_75_centos ~]# fdisk -lDisk /dev/vda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280">
<meta property="og:updated_time" content="2017-02-21T02:04:53.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Centos 创建 LVM">
<meta name="twitter:description" content="查看磁盘fdisk -l123456789101112131415161718[root@VM_32_75_centos ~]# fdisk -lDisk /dev/vda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280">
    
        <link rel="alternative" href="/atom.xml" title="Hexo" type="application/atom+xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="/css/style.css?v=1.4.7">
    <script>window.lazyScripts=[]</script>
</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide" >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">John Doe</h5>
          <a href="mailto:634206017@qq.com" title="634206017@qq.com" class="mail">634206017@qq.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/yscoder" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="http://www.weibo.com/ysweb" target="_blank" >
                <i class="icon icon-lg icon-weibo"></i>
                Weibo
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/custom"  >
                <i class="icon icon-lg icon-link"></i>
                测试
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">Centos 创建 LVM</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">Centos 创建 LVM</h1>
        <h5 class="subtitle">
            
                <time datetime="2017-02-21T02:01:00.000Z" itemprop="datePublished" class="page-time">
  2017-02-21
</time>


	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Linux/">Linux</a></li></ul>

            
        </h5>
    </div>

    

</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#查看磁盘"><span class="post-toc-number">1.</span> <span class="post-toc-text">查看磁盘</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#创建硬盘分区"><span class="post-toc-number">2.</span> <span class="post-toc-text">创建硬盘分区</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#将分区转化为物理卷"><span class="post-toc-number">3.</span> <span class="post-toc-text">将分区转化为物理卷</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#创建卷组"><span class="post-toc-number">4.</span> <span class="post-toc-text">创建卷组</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#创建逻辑卷"><span class="post-toc-number">5.</span> <span class="post-toc-text">创建逻辑卷</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#格式化逻辑卷"><span class="post-toc-number">6.</span> <span class="post-toc-text">格式化逻辑卷</span></a></li><li class="post-toc-item post-toc-level-4"><a class="post-toc-link" href="#挂载逻辑卷到目录"><span class="post-toc-number">7.</span> <span class="post-toc-text">挂载逻辑卷到目录</span></a></li></ol>
        </nav>
    </aside>
    
<article id="post-centos创建LVM"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">Centos 创建 LVM</h1>
        <div class="post-meta">
            <time class="post-time" title="2017年02月21日 10:01" datetime="2017-02-21T02:01:00.000Z"  itemprop="datePublished">2017-02-21</time>

            
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Linux/">Linux</a></li></ul>



            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


            

        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h4 id="查看磁盘"><a href="#查看磁盘" class="headerlink" title="查看磁盘"></a>查看磁盘</h4><p><code>fdisk -l</code><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# fdisk -l</div><div class="line"></div><div class="line">Disk /dev/vda: 21.5 GB, 21474836480 bytes</div><div class="line">255 heads, 63 sectors/track, 2610 cylinders</div><div class="line">Units = cylinders of 16065 * 512 = 8225280 bytes</div><div class="line">Sector size (logical/physical): 512 bytes / 512 bytes</div><div class="line">I/O size (minimum/optimal): 512 bytes / 512 bytes</div><div class="line">Disk identifier: 0x000736d7</div><div class="line"></div><div class="line">   Device Boot      Start         End      Blocks   Id  System</div><div class="line">/dev/vda1   *           1        2611    20970496   83  Linux</div><div class="line"></div><div class="line">Disk /dev/vdb: 214.7 GB, 214748364800 bytes</div><div class="line">16 heads, 63 sectors/track, 416101 cylinders</div><div class="line">Units = cylinders of 1008 * 512 = 516096 bytes</div><div class="line">Sector size (logical/physical): 512 bytes / 512 bytes</div><div class="line">I/O size (minimum/optimal): 512 bytes / 512 bytes</div><div class="line">Disk identifier: 0x00000000</div></pre></td></tr></table></figure></p>
<h4 id="创建硬盘分区"><a href="#创建硬盘分区" class="headerlink" title="创建硬盘分区"></a>创建硬盘分区</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# fdisk /dev/vdb</div><div class="line">Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel</div><div class="line">Building a new DOS disklabel with disk identifier 0x95cf54ae.</div><div class="line">Changes will remain in memory only, until you decide to write them.</div><div class="line">After that, of course, the previous content won&apos;t be recoverable.</div><div class="line"></div><div class="line">Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</div><div class="line"></div><div class="line">WARNING: DOS-compatible mode is deprecated. It&apos;s strongly recommended to</div><div class="line">         switch off the mode (command &apos;c&apos;) and change display units to</div><div class="line">         sectors (command &apos;u&apos;).</div><div class="line"></div><div class="line">Command (m for help): n #创建新分区</div><div class="line">Command action</div><div class="line">   e   extended</div><div class="line">   p   primary partition (1-4)</div><div class="line">p   #创建主分区</div><div class="line">Partition number (1-4): 1 #第一个分区</div><div class="line">First cylinder (1-416101, default 1): (默认按回车)</div><div class="line">Using default value 1</div><div class="line">Last cylinder, +cylinders or +size&#123;K,M,G&#125; (1-416101, default 416101): #默认回车</div><div class="line">Using default value 416101</div><div class="line">#开始转换分区格式为lvm</div><div class="line">Command (m for help): t 转换分区</div><div class="line">Selected partition 1</div><div class="line">Hex code (type L to list codes): 8e #LVM分区</div><div class="line">Changed system type of partition 1 to 8e (Linux LVM)</div><div class="line"></div><div class="line">Command (m for help): w #保存退出</div><div class="line">The partition table has been altered!</div><div class="line"></div><div class="line">Calling ioctl() to re-read partition table.</div><div class="line">Syncing disks.</div></pre></td></tr></table></figure>
<h4 id="将分区转化为物理卷"><a href="#将分区转化为物理卷" class="headerlink" title="将分区转化为物理卷"></a>将分区转化为物理卷</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# pvcreate /dev/vdb1</div><div class="line">  Physical volume &quot;/dev/vdb1&quot; successfully created</div><div class="line">  </div><div class="line">[root@VM_32_75_centos ~]# pvs</div><div class="line">  PV         VG   Fmt  Attr PSize   PFree</div><div class="line">  /dev/vdb1       lvm2 a--  200.00g 200.00g</div><div class="line">[root@VM_32_75_centos ~]# pvdisplay</div><div class="line">  &quot;/dev/vdb1&quot; is a new physical volume of &quot;200.00 GiB&quot;</div><div class="line">  --- NEW Physical volume ---</div><div class="line">  PV Name               /dev/vdb1</div><div class="line">  VG Name</div><div class="line">  PV Size               200.00 GiB</div><div class="line">  Allocatable           NO</div><div class="line">  PE Size               0</div><div class="line">  Total PE              0</div><div class="line">  Free PE               0</div><div class="line">  Allocated PE          0</div><div class="line">  PV UUID               smfsEe-RiKC-57PZ-Pu6u-ub1k-Uys3-kzU22O</div></pre></td></tr></table></figure>
<h4 id="创建卷组"><a href="#创建卷组" class="headerlink" title="创建卷组"></a>创建卷组</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# vgcreate vg-group1 /dev/vdb1</div><div class="line">  Volume group &quot;vg-group1&quot; successfully created</div><div class="line">  </div><div class="line">[root@VM_32_75_centos ~]# vgs #查看</div><div class="line">  VG        #PV #LV #SN Attr   VSize   VFree</div><div class="line">  vg-group1   1   0   0 wz--n- 200.00g 200.00g</div><div class="line">[root@VM_32_75_centos ~]# vgdisplay</div><div class="line">  --- Volume group ---</div><div class="line">  VG Name               vg-group1</div><div class="line">  System ID</div><div class="line">  Format                lvm2</div><div class="line">  Metadata Areas        1</div><div class="line">  Metadata Sequence No  1</div><div class="line">  VG Access             read/write</div><div class="line">  VG Status             resizable</div><div class="line">  MAX LV                0</div><div class="line">  Cur LV                0</div><div class="line">  Open LV               0</div><div class="line">  Max PV                0</div><div class="line">  Cur PV                1</div><div class="line">  Act PV                1</div><div class="line">  VG Size               200.00 GiB</div><div class="line">  PE Size               4.00 MiB</div><div class="line">  Total PE              51199</div><div class="line">  Alloc PE / Size       0 / 0</div><div class="line">  Free  PE / Size       51199 / 200.00 GiB</div><div class="line">  VG UUID               BtAmu5-Ua0g-cAo1-ZeWu-J88k-YFQ2-jy704p</div></pre></td></tr></table></figure>
<h4 id="创建逻辑卷"><a href="#创建逻辑卷" class="headerlink" title="创建逻辑卷"></a>创建逻辑卷</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# lvcreate -l 51199 -n lv1 vg-group1</div><div class="line">  Logical volume &quot;lv1&quot; created</div><div class="line">  </div><div class="line">[root@VM_32_75_centos ~]# lvs</div><div class="line">  LV   VG        Attr       LSize   Pool Origin Data%  Move Log Cpy%Sync Convert</div><div class="line">  lv1  vg-group1 -wi-a----- 200.00g</div><div class="line">[root@VM_32_75_centos ~]# lvdisplay</div><div class="line">  --- Logical volume ---</div><div class="line">  LV Path                /dev/vg-group1/lv1</div><div class="line">  LV Name                lv1</div><div class="line">  VG Name                vg-group1</div><div class="line">  LV UUID                cZJ7OO-Utb4-DBae-fenz-6uZr-hJBq-90YyRB</div><div class="line">  LV Write Access        read/write</div><div class="line">  LV Creation host, time VM_32_75_centos, 2016-06-03 16:48:20 +0800</div><div class="line">  LV Status              available</div><div class="line">  # open                 0</div><div class="line">  LV Size                200.00 GiB</div><div class="line">  Current LE             51199</div><div class="line">  Segments               1</div><div class="line">  Allocation             inherit</div><div class="line">  Read ahead sectors     auto</div><div class="line">  - currently set to     256</div><div class="line">  Block device           253:0</div></pre></td></tr></table></figure>
<h4 id="格式化逻辑卷"><a href="#格式化逻辑卷" class="headerlink" title="格式化逻辑卷"></a>格式化逻辑卷</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div><div class="line">37</div><div class="line">38</div><div class="line">39</div><div class="line">40</div><div class="line">41</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# mkfs.ext4 /dev/vg-group1/lv1</div><div class="line">mke2fs 1.41.12 (17-May-2010)</div><div class="line">文件系统标签=</div><div class="line">操作系统:Linux</div><div class="line">块大小=4096 (log=2)</div><div class="line">分块大小=4096 (log=2)</div><div class="line">Stride=0 blocks, Stripe width=0 blocks</div><div class="line">13107200 inodes, 52427776 blocks</div><div class="line">2621388 blocks (5.00%) reserved for the super user</div><div class="line">第一个数据块=0</div><div class="line">Maximum filesystem blocks=4294967296</div><div class="line">1600 block groups</div><div class="line">32768 blocks per group, 32768 fragments per group</div><div class="line">8192 inodes per group</div><div class="line">Superblock backups stored on blocks:</div><div class="line">    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,</div><div class="line">    4096000, 7962624, 11239424, 20480000, 23887872</div><div class="line"></div><div class="line">正在写入inode表: 完成</div><div class="line">Creating journal (32768 blocks): 完成</div><div class="line">Writing superblocks and filesystem accounting information: 完成</div><div class="line"></div><div class="line">This filesystem will be automatically checked every 31 mounts or</div><div class="line">180 days, whichever comes first.  Use tune2fs -c or -i[root@VM_32_75_centos ~]# fdisk -l</div><div class="line"></div><div class="line">Disk /dev/vda: 21.5 GB, 21474836480 bytes</div><div class="line">255 heads, 63 sectors/track, 2610 cylinders</div><div class="line">Units = cylinders of 16065 * 512 = 8225280 bytes</div><div class="line">Sector size (logical/physical): 512 bytes / 512 bytes</div><div class="line">I/O size (minimum/optimal): 512 bytes / 512 bytes</div><div class="line">Disk identifier: 0x000736d7</div><div class="line"></div><div class="line">   Device Boot      Start         End      Blocks   Id  System</div><div class="line">/dev/vda1   *           1        2611    20970496   83  Linux</div><div class="line"></div><div class="line">Disk /dev/vdb: 214.7 GB, 214748364800 bytes</div><div class="line">16 heads, 63 sectors/track, 416101 cylinders</div><div class="line">Units = cylinders of 1008 * 512 = 516096 bytes</div><div class="line">Sector size (logical/physical): 512 bytes / 512 bytes</div><div class="line">I/O size (minimum/optimal): 512 bytes / 512 bytes</div><div class="line">Disk identifier: 0x00000000</div></pre></td></tr></table></figure>
<h4 id="挂载逻辑卷到目录"><a href="#挂载逻辑卷到目录" class="headerlink" title="挂载逻辑卷到目录"></a>挂载逻辑卷到目录</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div></pre></td><td class="code"><pre><div class="line">[root@VM_32_75_centos ~]# mkdir /app</div><div class="line">[root@VM_32_75_centos ~]# mount /dev/vg-group1/lv1 /app/</div><div class="line"> [root@VM_32_75_centos ~]# df -h</div><div class="line">Filesystem                  Size  Used Avail Use% Mounted on</div><div class="line">/dev/vda1                    20G  1.2G   18G   7% /</div><div class="line">/dev/mapper/vg--group1-lv1  197G   60M  187G   1% /app</div><div class="line">[root@VM_32_75_centos ~]# echo &apos;/dev/vg-group1/lv1 /app ext4 defaults 0 0&apos; &gt;&gt; /etc/fstab</div><div class="line"></div><div class="line"> to override.</div></pre></td></tr></table></figure>

        </div>

        <blockquote class="post-copyright">
    <div class="content">
        
<span class="post-time">
    最后更新时间：<time datetime="2017-02-21T02:04:53.000Z" itemprop="dateUpdated">2017年2月21日 10:04</time>
</span><br>


        这里写留言或版权声明：<a href="/2017/02/21/centos创建LVM/" target="_blank" rel="external">http://yoursite.com/2017/02/21/centos创建LVM/</a>
    </div>
    <footer>
        <a href="http://yoursite.com">
            <img src="/img/avatar.jpg" alt="John Doe">
            John Doe
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Centos/">Centos</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://yoursite.com/2017/02/21/centos创建LVM/&title=《Centos 创建 LVM》 — Hexo&pic=http://yoursite.com/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://yoursite.com/2017/02/21/centos创建LVM/&title=《Centos 创建 LVM》 — Hexo&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://yoursite.com/2017/02/21/centos创建LVM/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《Centos 创建 LVM》 — Hexo&url=http://yoursite.com/2017/02/21/centos创建LVM/&via=http://yoursite.com" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://yoursite.com/2017/02/21/centos创建LVM/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between flex-row-reverse">
  

  
    <div class="waves-block waves-effect next">
      <a href="/2017/02/21/hello-world/" id="post-next" class="post-nav-link">
        <div class="tips">Next <i class="icon icon-angle-right icon-lg icon-pl"></i></div>
        <h4 class="title">Hello World</h4>
      </a>
    </div>
  
</nav>



    

<div class="comments" id="comments">
    <div class="ds-thread" data-thread-key="centos创建LVM" data-title="Centos 创建 LVM" data-url="http://yoursite.com/2017/02/21/centos创建LVM/"></div>
</div>
<script>
lazyScripts.push('//cdn.bootcss.com/marked/0.3.6/marked.min.js');

var duoshuoQuery = {short_name:'ysblog', theme: 'none'};
lazyScripts.push('/js/embed.min.js?v=1.4.7');


</script>







</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        谢谢大爷~
        <i class="icon icon-quote-right"></i>
    </h3>
    <ul class="reward-items">
        
        <li>
            <img src="/img/wechat.jpg" title="微信打赏二维码" alt="微信打赏二维码">
            <p>微信</p>
        </li>
        

        
        <li>
            <img src="/img/alipay.jpg" title="支付宝打赏二维码" alt="支付宝打赏二维码">
            <p>支付宝</p>
        </li>
        
    </ul>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            <span>博客内容遵循 <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">知识共享 署名 - 非商业性 - 相同方式共享 4.0协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p>
            <span>Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a></span>
            <span>Hexo &copy; 2015 - 2017</span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://yoursite.com/2017/02/21/centos创建LVM/&title=《Centos 创建 LVM》 — Hexo&pic=http://yoursite.com/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://yoursite.com/2017/02/21/centos创建LVM/&title=《Centos 创建 LVM》 — Hexo&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://yoursite.com/2017/02/21/centos创建LVM/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《Centos 创建 LVM》 — Hexo&url=http://yoursite.com/2017/02/21/centos创建LVM/&via=http://yoursite.com" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://yoursite.com/2017/02/21/centos创建LVM/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };



</script>

<script src="/js/main.min.js?v=1.4.7"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="/js/search.min.js?v=1.4.7" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>


</body>
</html>
